package com.emode.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Bbstopic entity. @author MyEclipse Persistence Tools
 */

public class Bbstopic implements java.io.Serializable {

	// Fields

	private Integer tid;
	private Bbsusers bbsusers;
	private Bbssection bbssection;
	private Integer treplyCount;
	private Integer topHidden;
	private String ttopic;					//标题
	private String tcontents;				//topic 的内容
	private Date ttime;
	private Integer tclickCount;			//点击量
	private String tkeywords;
	private Date tlastReply;				//最后的回复
	private Set upfiles = new HashSet(0);
	private Set bbsreplies = new HashSet(0);

	// Constructors

	/** default constructor */
	public Bbstopic() {
	}

	/** full constructor */
	public Bbstopic(Bbsusers bbsusers, Bbssection bbssection,
			Integer treplyCount, Integer topHidden, String ttopic,
			String tcontents, Date ttime, Integer tclickCount,
			String tkeywords, Date tlastReply, Set upfiles, Set bbsreplies) {
		this.bbsusers = bbsusers;
		this.bbssection = bbssection;
		this.treplyCount = treplyCount;
		this.topHidden = topHidden;
		this.ttopic = ttopic;
		this.tcontents = tcontents;
		this.ttime = ttime;
		this.tclickCount = tclickCount;
		this.tkeywords = tkeywords;
		this.tlastReply = tlastReply;
		this.upfiles = upfiles;
		this.bbsreplies = bbsreplies;
	}

	// Property accessors

	public Integer getTid() {
		return this.tid;
	}

	public void setTid(Integer tid) {
		this.tid = tid;
	}

	public Bbsusers getBbsusers() {
		return this.bbsusers;
	}

	public void setBbsusers(Bbsusers bbsusers) {
		this.bbsusers = bbsusers;
	}

	public Bbssection getBbssection() {
		return this.bbssection;
	}

	public void setBbssection(Bbssection bbssection) {
		this.bbssection = bbssection;
	}

	public Integer getTreplyCount() {
		return this.treplyCount;
	}

	public void setTreplyCount(Integer treplyCount) {
		this.treplyCount = treplyCount;
	}

	public Integer getTopHidden() {
		return this.topHidden;
	}

	public void setTopHidden(Integer topHidden) {
		this.topHidden = topHidden;
	}

	public String getTtopic() {
		return this.ttopic;
	}

	public void setTtopic(String ttopic) {
		this.ttopic = ttopic;
	}

	public String getTcontents() {
		return this.tcontents;
	}

	public void setTcontents(String tcontents) {
		this.tcontents = tcontents;
	}

	public Date getTtime() {
		return this.ttime;
	}

	public void setTtime(Date ttime) {
		this.ttime = ttime;
	}

	public Integer getTclickCount() {
		return this.tclickCount;
	}

	public void setTclickCount(Integer tclickCount) {
		this.tclickCount = tclickCount;
	}

	public String getTkeywords() {
		return this.tkeywords;
	}

	public void setTkeywords(String tkeywords) {
		this.tkeywords = tkeywords;
	}

	public Date getTlastReply() {
		return this.tlastReply;
	}

	public void setTlastReply(Date tlastReply) {
		this.tlastReply = tlastReply;
	}

	public Set getUpfiles() {
		return this.upfiles;
	}

	public void setUpfiles(Set upfiles) {
		this.upfiles = upfiles;
	}

	public Set getBbsreplies() {
		return this.bbsreplies;
	}

	public void setBbsreplies(Set bbsreplies) {
		this.bbsreplies = bbsreplies;
	}

}